(function($, gmwk) {

    function Blog(Options) {
  
        var self = this;
        var jqContainer = Options.jqObjectContainer;
        
        jqContainer.click(fClick);
        
        if (gmwk.bAuthorized) {
            $(".Blog_login").hide();
            $(".Blog_logout").show();
        } else {
            $(".Blog_login").show();
            $(".Blog_logout").hide();      
        }
        
        // console.info("---------> Blog constructed");
        
        function fClick(e) {
            var jqTarget = $(e.target);
            if (gmwk.closestObjectContainer(jqTarget) != jqContainer.attr("id")) {
                return;
            }
            console.info("fClick");
        }
          
    }
  
    gmwk.classes.Blog = Blog;

})(jQuery, window.gmwk);
